diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(procurement)/evaluation/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(procurement)/evaluation/page.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/(procurement)/evaluation/page.tsx b/app/[lng]/evcp/(evcp)/(procurement)/evaluation/page.tsx index 0d3848d9..bf30cfc9 100644 --- a/app/[lng]/evcp/(evcp)/(procurement)/evaluation/page.tsx +++ b/app/[lng]/evcp/(evcp)/(procurement)/evaluation/page.tsx @@ -24,6 +24,7 @@ import { type GetEvaluationsSchema } from "@/lib/evaluation/validation" import { InformationButton } from "@/components/information/information-button" +import { useTranslation } from "@/i18n" export const metadata: Metadata = { title: "협력업체 정기평가", @@ -31,6 +32,7 @@ export const metadata: Metadata = { } interface PeriodicEvaluationsPageProps { + params: Promise<{lng: string}> searchParams: Promise<SearchParams> } @@ -133,6 +135,8 @@ function AggregatedModeNotice({ isAggregated }: { isAggregated: boolean }) { export default async function PeriodicEvaluationsPage(props: PeriodicEvaluationsPageProps) { const searchParams = await props.searchParams + const {lng} = await props.params + const {t} = await useTranslation(lng, 'menu') // ✅ nuqs 기반 파라미터 파싱 const search = searchParamsEvaluationsCache.parse(searchParams) @@ -156,7 +160,7 @@ export default async function PeriodicEvaluationsPage(props: PeriodicEvaluations <div className="flex items-center gap-2"> <div className="flex items-center gap-2"> <h2 className="text-2xl font-bold tracking-tight"> - 협력업체 정기평가 + {t('menu.vendor_management.evaluation')} </h2> <InformationButton pagePath="evcp/evaluation" /> {/* <ProcessGuidePopover /> */} |
